The original author will submit a counternotice and their content will be put back online. If the copier wants to take their bogus case to court, a judge will decide based on the evidence presented. Google cache, Archive.org, server access logs, code repository commit histories, e-mails or whatever else you can find could be presented as evidence of the publication date. In the meantime, the service provider must assume the content is published legally if they want safe harbor protection from bogus lawsuits of their own. I can't think of a better system, honestly.