Tech firms will need to ensure that illegal content is quickly removed from their platforms.