Legislation to ban under-16s from social media will be put before parliament next week, but some platforms could be exempt from the proposed changes.