The Australian Senate has passed a social media ban for children under 16 years old that will soon become a world-first law.