A city or town, including a code city, may not license newspaper carriers under eighteen years of age for either regulatory or revenue-generating purposes.