DMCA safe harbor says you don’t have to actively police your content but you have to take it down if a copyright holder complains. YouTube had robust tooling to take down content when they received a complaint. They got sued anyway, they won because the evidence showed they always took the content down (and that Viacom the party who sued was active in putting the content up there in the first place)