; and (ii) any managed care entity (as defined under section 1932(a)(1)(B)) that has a contract with the State under this subsection or under section 1905(t)(3). (C) Such State agency may share information in such databases, to the same extent that the State agency is permitted under State law to share information in such databases, with— (i) any provider enrolled under the State plan to provide services to Medicaid beneficiaries; and (ii) any managed care entity (as defined under section 1932(a)(1)(B)) that has a contract with the State under this subsection or under section 1905(t)(3). . (b) Security and privacy All applicable State and Federal security and privacy protections and laws shall apply to any State agency, individual, or entity accessing 1 or more prescription drug monitoring program databases or obtaining information in such databases in accordance with section 1903(m)(8) of the Social Security Act ( 42 U.S.C. 1396b(m)(8) ) (as added by subsection (a)). (c) Effective date The amendment made by subsection (a) shall take effect on the date of enactment of this Act. 211. Mandatory reporting with respect to adult behavioral health measures Section 1139B of the Social Security Act ( 42 U.S.C. 1320b–9b ) is amended— (1) in subsection (b)— (A) in paragraph (3)— (i) by striking Not later than January 1, 2013 and inserting the following: (A) Voluntary reporting Not later than January 1, 2013 ; and (ii) by adding at the end the following: (B) Mandatory reporting with respect to behavioral health measures Beginning with the State report required under subsection (d)(1) for 2024, the Secretary shall require States to use all behavioral health measures included in the core set of adult health quality measures and any updates or changes to such measures to report information, using the standardized format for reporting information and procedures developed under subparagraph (A), regarding the quality of behavioral health care for Medicaid eligible adults.