sentence shall not be treated as lawfully present or lawfully residing for purposes of the designated Federal program defined in section 402(b)(3)(C) (relating to the Medicaid program) or the State Children's Health Insurance Program established under title XXI of the Social Security Act ( 42 U.S.C. 1397aa et seq. ). . (2) Exclusion from CHIPRA coverage option (A) Medicaid Section 1903(v)(4) of the Social Security Act ( 42 U.S.C. 1396b(v)(4) ) is amended— (i) in subparagraph (A), by striking A State may and inserting Subject to subparagraph (D), a State may