(a) No local governmental entity or official shall adopt or enact a sanctuary policy. A local governmental entity that adopts or enacts a sanctuary policy is ineligible to enter into any grant contract with the department of economic and community development until the sanctuary policy is repealed, rescinded, or otherwise no longer in effect.
(b) It is unlawful for an official to violate subsection (a). A violation of subsection (a) is a Class E felony. For purposes of this subsection (b), each official who, in their capacity as a member of the governing body of a local government, votes in the affirmative to adopt a sanctuary policy is in violation of this section.