A Hamilton County judge said the law, passed in 2020, is unconstitutional under Ohio's abortion rights amendment.