The ordinance is expected to generate more than $1 billion a year for homeless services and affordable housing.