The City Council heard testimony on Wednesday about the bill, which is part of a package that would also restrict protests at houses of worship.