If you are this early career and the company is still paying you, PIP or no PIP, it's very likely that they want you to succeed. Question your assumptions and make sure you really understand the feedback they are giving you. Don't put in extraordinary hours (you want to have clear judgement, get plenty of sleep) but look for every resource, mentors, books, ask for help, and focus on doing your best. This will put you in the best possible light no matter what happens.
There are a lot of different companies out there each with a different culture. One of them might be a better fit.
I like library providers that can provide mechanical upgrade instructions. For example:
model.adjust(x,1,y)
is nowmodel.single(Adjustment.Foo, x).with_attribute(y)
Or whatever. Then people can go through your instructions find-and-replacing the changes, or even better, have an automated tool do it.
Also you pay some of the maintenance burden by writing all this documentation, so you have a some stake in keeping the changes minimal.