Not knowing something is a crime doesn’t stop you from being prosecuted for committing it.
It doesn’t matter if someone else is sharing copyright works and you don’t know it and use it in ways that infringes on that copyright.
“I didn’t know that was copyrighted” is not a valid defence.
PEBKAC error for sure