Harry’s remarks arrive as pressures continue to mount on tech giants like Meta, Snap and TikTok to make their online platforms safer.