New York's City Council voted 40 to 7 to pass the bill Thursday, which Mayor Zohran Mamdani is expected to sign.