title may have reasonable access, as determined by the State, to 1 or more prescription drug monitoring program databases administered or accessed by the State to the extent the State agency is permitted to access such databases under State law. (B) Such State agency may facilitate reasonable access, as determined by the State, to 1 or more prescription drug monitoring program databases administered or accessed by the State, to same extent that the State agency is permitted under State law to access such databases, for— (i) any provider enrolled under the State plan to provide services to Medicaid beneficiaries