The Supreme Court cut the sentence of a convicted child molester because one of his convictions was for a molestation which occurred prior to said law being enacted. It could not change what happened in the past, but it could render agreements signed in the past to be "henceforth invalid." Previously signed NDAs would be rendered unenforceable if the limitations exceeded the new law's.
FREEDOM OF SPEECH FOR ALL TRUMP EMPLOYEES! LEGALLY LIMIT NON-DISCLOSURE AGREEMENTS (NDA'S) TO COVER PATENTS, COPYRIGHTS AND SECRET OPERATIONAL INFORMATION. NOBODY "OWNS," THE TRUTH!