The text of the treaty was kept secret even from congress [0], and to read it, they had to request the exact (single) chapter ahead of time, and were not allowed to bring any means of copying into the room where they read it in solitude. If they even got the text itself, and not a 'summary' [1].
Meanwhile, "industry representatives" had free access to it, and were largely the ones writing it.
The TPP (and other similar trade agreements) are nothing but backdoor means of subverting national legislations in favor of corporations. If four years were lost to China, the corporate authors of the TPP have only themselves to blame, as it was so hideous and anti-consumer, it was one of the few things Trump and Bernie Sanders agreed was bad.
[0] But, obviously, not from the other governments negotiating it, showing that the secrecy was not to gain an advantage over the other parties, but over ones own voters and politicians.
[1] https://en.wikipedia.org/wiki/Trans-Pacific_Partnership#Secr...