Building codes affect health and climate. A Tennessee bill would block cities from updating them.