The county treasurer may, based on records of the dogs actually licensed in each city or township of the county and any report under section 16, identify and locate all unlicensed dogs. A dog required to be licensed under this act that is unlicensed is a public nuisance. The county treasurer shall immediately list all unlicensed dogs identified under this section and shall deliver copies of the list to the prosecuting attorney of the county. Upon receipt of the name of an owner of an unlicensed dog from the county treasurer, the prosecuting attorney shall commence proceedings against the owner of the dog as required by this act.