In other professions such unions inevitably end up building a chummy relationship with the government and going along with whatever it says, software engineering wouldn't be any different. If anything it'd be worse because the government could pressure the union into removing the license of engineers who make privacy-preserving software.