The Influence of Local Laws on Homebuying