Michigan Gov. Rick Snyder has signed laws exempting gun records from the state’s Freedom of Information Act.

The legislation signed Tuesday codifies a 1999 Michigan Supreme Court decision that found disclosure of gun registry records to be an invasion of privacy.

The legislation was a direct response to the LoHud newspaper in NY publishing the names and addresses of all gun permit holders.