22 states have sued to stop federal health agencies from sharing Medicaid data with the Department of Homeland Security.