if (metadata.is_public)
Simple fix.They can easily withold information they put out intenionally.
If you can't easily architect around it, then don't do what you're trying to do.
"Oh I needed to disclose user data in order to make more money" isn't an acceptable excuse.