; 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 (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. 1017. Report on innovative State initiatives and strategies to provide housing-related services and supports to individuals struggling with substance use disorders under Medicaid (a) In general Not later than 1 year after the date of enactment of this Act, the Secretary of Health and Human Services shall issue a report to Congress describing innovative State initiatives and strategies for providing housing-related services and supports under a State Medicaid program to individuals with substance use disorders who are experiencing or at risk of experiencing homelessness. (b) Content of report The report required under subsection (a) shall describe the following: (1) Existing methods and innovative strategies developed and adopted by State Medicaid programs that have achieved positive outcomes in increasing housing stability among Medicaid beneficiaries with substance use disorders who are experiencing or at risk of experiencing homelessness, including Medicaid beneficiaries with substance use disorders who are— (A) receiving treatment for substance use disorders in inpatient, residential, outpatient, or home-based and community-based settings; (B) transitioning between substance use disorder treatment settings