Prince Harry has called privacy a foundational issue that underpins the "trust, safety and the stability of our societies".