An ordinance aimed at protecting tenants living in unsafe or substandard housing conditions was unanimously approved by the San Mateo City Cou…