When you're transforming the push notification, can you make an https request?
Send a meaningless random ID, then do a get request to your API to get the actual content, then present it to the user.
Only a meaningless ID will transit through google/apple servers.
Honest question. I'm sure many thought about it before.