A bill designed to improving housing affordability is putting private equity and housing investors on the spot.