If you choose to work on such features, remember it's a choice you have made. You may come to the conclusion that your personal gains outweigh the damage you create to other people but it's still your responsibility. You can't delegate that away to sleep better at night.
There are more effective ways to fight it, they're not by refusing orders. You're not deciding someone's life here nor playing God and decisions get reversed with damage being mitigated if any.
I'm not seeing any of that. Just shrugs at being a mere pawn in a large game and trying to gain as much personal benefit out of it as possible.
Silicon Valley, where the ethos is to get rich quick by accepting personal degradation and eschewing morality?
But don’t just assume that bringing up ethical issues others might not even be aware of isn’t a fruitful endeavor at all. You sketched out the extreme case, not every case.
The only other option, still risking the job, is whistleblowing. That potentially also breaks NDA and employment contracts.
We have no power over deadlines (cutting privacy features), budget, priorities or vetoing unethical ideas of product owners or marketing.