At the end of the day even if all devs collectively decide they won’t implement these features (which already is utopian), there will be someone in a more desparate position who would just be too glad to take the job. You may have to go looking in other countries. Or raise wages. But it will get done.