The issue has taken on more urgency amid concern about the spread of fake news and racist content on social media targeting more than 1 million migrants who arrived in Germany in the last two years, as well as members of the Jewish community.