That is correct! All these companies didn't mind helping the NSA, as long as they weren't exposed!
Because of Snowden's revelations, US tech companies have probably peaked in terms of global market share. Not that the security breaches weren't known before, but now there are major impetus driving individual national efforts to create secure platforms & applications. (Well, at least domestically - each intelligence service will of course still have access - acknowledged or otherwise. But at least it won't be the NSA.)
Since tech is a major component of the US economy, this could have a significant impact on GDP. Ergo, it effects national security. Of course, the real culprits are those who violated 300m US citizens' constitutional rights and set this snowball in action.