The levy on social media firms will be used to pay for initiatives to battle bad behavior online.