; and (2) by adding at the end the following: (C) Payer of last resort In carrying out its responsibilities to ensure access to services or programs under this subsection, the State agency shall not be considered to be a legally liable third party for purposes of satisfying a financial commitment for the cost of providing such services or programs with respect to any individual for whom such cost would have been paid for from another public or private source but for the enactment of this subsection (except that whenever considered necessary to prevent a delay in the receipt of appropriate early intervention services by a child or family in a timely fashion, funds provided under section 474(a)(6) may be used to pay the provider of services or programs pending reimbursement from the public or private source that has ultimate responsibility for the payment). . (c) Effective date The amendments made by subsection (b) shall take effect as if included in section 50711 of division E of Public Law 115–123 . 8083. Building capacity for family-focused residential treatment (a) Definitions In this section: (1) Eligible entity The term eligible entity means a State, county, local, or tribal health or child welfare agency, a private nonprofit organization, a research organization, a treatment service provider, an institution of higher education (as defined under section 101 of the Higher Education Act of 1965 ( 20 U.S.C. 1001 )), or another entity specified by the Secretary. (2) Family-focused residential treatment program The term family-focused residential treatment program means a trauma-informed residential program primarily for substance use disorder treatment for pregnant and postpartum women and parents and guardians that allows children to reside with such women or their parents or guardians during treatment to the extent appropriate and applicable. (3) Secretary The term Secretary means the Secretary of Health and Human Services. (b) Support for the development of evidence-based family-focused residential treatment