Of course these laws should be abolished.
But these cases show an important difference: These laws while outrageous, were created transparently and published. This enabled citizens to take actions against them, and hopefully at some point they will be abolished.
In the case of the NSA everything was covered by gag orders under the penalty of committing a felony. That is way more insidious.