It was not the text of some laws. It was engineering standards incorporated into certain building codes. The laws were like: "buildings shall follow ASME x.y.z" (to use a software analogy, it would be like requiring something to conform to POSIX, a standard the text of which is not freely published).