Any zoning ordinance enacted by a county under s. 59.69 before March 5, 2020, that applied to some towns in the county but not all towns in the county and that is in effect on March 5, 2020, is declared to be legal, valid, and binding.