The deal keeps the app available for more than 200 million U.S. users under new data, algorithm, and content safeguards.