The federal government has introduced legislation that, among other things, would restrict access to social media platforms for kids under the age of 16.