In Fremont , a meat-packing town of about 25,000 people, unofficial results from The Associated Press late Monday showed that 57 percent of voters approved a referendum barring landlords from renting to those in the country illegally, requiring renters to provide information to the police and to obtain city occupancy licenses, and obliging city businesses to use a federal database to check for illegal immigrants.