It is important to mention that FISA requests have something like a 98% approval rate and have a history of being overly broad allowing for dragnet data collection. So PRISM does still allow for very wide sweeping data access from tech companies.
But yes, end-to-end encryption is one of the few things that can help with this.