The Commissioner of Social Security shall—
(i)#
enter into agreements with each State with a plan approved under part E of subchapter IV for the purpose of sharing and matching data, on an automated monthly basis, in the system of records of the Social Security Administration with each Statewide and Tribal Automated Child Welfare Information System to identify represented minor beneficiaries who are in foster care under the responsibility of the State for such month; and
(ii)#
in any case in which a represented minor beneficiary has entered or exited foster care or changed foster care placement in such month, redetermine the appropriate representative payee for such individual.