The bill, introduced by Mayor Clara Brugada of the ruling Morena party, passed with 61 votes in favor and one against.