(D) A city, county, municipality, or other local government or political subdivision may not enact any ordinance, regulation, or other legislation pertaining to the employment, licensing, permitting, or otherwise doing business with a person based upon that person's authorization to work in the United States that exceeds or otherwise conflicts with federal law or that is in conflict with state law