Erich Andersen had been TikTok's legal chief for four years. Courtesy photo