; and (ii) by adding at the end the following: (E) Prevention services and programs for children and their parents and kin caregivers (i) In general In the case of a tribe, organization, or consortium that elects to provide services and programs specified in section 471(e)(1) to children described in section 471(e)(2) and their parents or kin caregivers under the plan, the Secretary shall specify the requirements applicable to the provision of the services and programs. The requirements shall, to the greatest extent practicable, be consistent with the requirements applicable to States under section 471(e) and shall permit the provision of the services and programs in the form of services and programs that are adapted to the culture and context of the tribal communities served. (ii) Performance measures The Secretary shall establish specific performance measures for each tribe, organization, or consortium that elects to provide services and programs specified in section 471(e)(1). The performance measures shall, to the greatest extent practicable, be consistent with the prevention services measures required for States under section 471(e)(6) but shall allow for consideration of factors unique to the provision of the services by tribes, organizations, or consortia. ; and (B) in subsection (d)(1), by striking and (5) and inserting (5), and (6)(A) . (2) Conforming amendment The heading for subsection (d) of section 479B of such Act ( 42 U.S.C. 679c ) is amended by striking for Foster Care Maintenance and Adoption Assistance Payments . 112. Foster care maintenance payments for children with parents in a licensed residential family-based treatment facility for substance abuse (a) In general Section 472 of the Social Security Act ( 42 U.S.C. 672 ) is amended— (1) in subsection (a)(2)(C), by striking or and inserting , with a parent residing in a licensed residential family-based treatment facility, but only to the extent permitted under subsection (j), or in a