It was Georgia state law, two years ago, essentially saying that while you can have the text of the law, you can't have the annotations that inform the interpretation of the law:
https://arstechnica.com/tech-policy/2017/03/public-records-a...
However, since court decisions about US law are based on prior rulings, the text itself is mostly useless and doesn't actually tell you what the whole law is. It's like an Ikea assembly manual without pictures.