A new law is meant to help local governments speed up the building and placement of small, portable houses.