The 2022 measure was enacted by the state’s Republican-dominated legislature over Democrat Gov. Andy Beshear’s veto.