If passed, many who are homeless could be subject to a fine or imprisonment.