; and (B) by adding at the end the following: (k) Limitation on federal financial participation (1) In general Beginning with the third week for which foster care maintenance payments are made under this section on behalf of a child placed in a child-care institution, no Federal payment shall be made to the State under section 474(a)(1) for amounts expended for foster care maintenance payments on behalf of the child unless— (A) the child is placed in a child-care institution that is a setting specified in paragraph (2) (or is placed in a licensed residential family-based treatment facility consistent with subsection (j))