An unincorporated town in this State may not sound a siren, bell or alarm at a time during which the siren, bell or alarm was previously sounded on specific days or times in association with an ordinance enacted by the town which required persons of a particular race, ethnicity, ancestry, national origin or color to leave the town by a specific time.