; and (B) detain the alien with the alien's child. . (b) Effective date The amendment made by subsection (a) shall take effect on the date of the enactment of this Act and shall apply to all actions that occur before, on, or after the date of the enactment of this Act. (c) Preemption of state licensing requirements Notwithstanding any other provision of law, judicial determination, consent decree, or settlement agreement, no State may require that an immigration detention facility used to detain children who have not attained 18 years of age, or families consisting of one or more of such children and the parents or legal guardians of such children, that is located in that State, be licensed by the State or any political subdivision thereof. 537. (a) The Federal Government, and any State or local government that receives Federal funding for any program that provides child welfare services under part B or part E of title IV of the Social Security Act (and any subdivision, office, or department of such State), shall not discriminate or take an adverse action against a child welfare service provider on the basis that the provider has declined or will decline to provide, facilitate, or refer for a child welfare service that conflicts with, or under circumstances that conflict with, the provider’s sincerely held religious beliefs or moral convictions. (b) The Secretary of Health and Human Services shall withhold from a State or local government 15 percent of the Federal funds the State or local government receives for a program that provides child welfare services under part B or part E of title IV of the Social Security Act if the State or local government violates subsection (a) when administering or disbursing funds under such program. (c) (1) A child welfare service provider aggrieved by a violation of subsection (a) may assert that violation as a claim or defense in a judicial proceeding and obtain all appropriate relief, including declaratory relief, injunctive relief, and compensatory damages, with respect to