BabyTanuki
Didn't Macha's Journey use to be fairly popular? If so, then you could have applied for a contract through Discord. That's what I did after entering the top 50 in the rankings. Granted, ranking doesn't guarantee anything.
Unfortunately, piracy will always be an issue for easily-accessible goods like novels. Same goes for similar media like comics, movies, and video games. If a novel is ever pirated, all the copyright holder can really do is send a DMCA to have it taken down, which isn't a particularly tedious or troublesome thing to do. However, most piracy sites are hosted in obscure countries where it either isn't illegal or the creators of the pirate sites just don't care, so the DMCA will often accomplish nothing.
If it makes you feel any better, the fact that your book was free to begin with means that very few people were likely reading it on the pirate sites since they would likely be aware of it being free on the original platform. Also, most pirates aren't willing to pay for content in the first place, so it's a bit debatable whether it would really result in lost income or not. I know from experience though that it definitely doesn't feel good having your hard work stolen.
Ultimately, the best solution to piracy is usually ease of access to goods. That's why Steam killed most video game pirating and Netflix killed most movie pirating. Unfortunately, new platforms are starting to compete with these two services, resulting in fragmented services that divide up content, which is inconvenient for users. I imagine we'll start seeing a steady increase in movie and video game pirating over the next decade as a result. And so continues the ever ongoing war of piracy vs ease of access for the consumer >.>