The key is to not over wet, and to not use high PH (chemistry)
Even if its cotton shampoo.
Technically a shampoo is NOT suppose to be used as a pre spray.
Pre sprays are applied and are allowed to dwell, while a shampoo is just barely being applied and removed as fast as possible. The best way to apply a shampoo IMO is to foam it on and wipe it off, That's it. But everyone tends to treat and use shampoos like a pre spray and then browning (cellulose browning if its a plant fiber or combo) I also see some folks after shampooing, they rinse it but really a shampoo doesn't need to be rinsed, and when it is that's also where over wetting can also occur. The reducer in the shampoo gets removed or diluted and renders it useless or not very effective. If I have a client that insists on HWE on a problematic cellulose fiber then I will always explain what can negatively happen and have them sign the disclosure. But I know very well that dry pass, low moisture and correct chemistry will most likely prevent issued, It is not 100% prevention, Not doing it is 100% or using waterless cleaning (not low moisture) = Dry cleaning (solvent) but using that method also has some cautions.
Lignin is what gets released/ loosened, the compound is found in all plant based fibers (cellulose) and also in regenerative fibers such as Rayon, acetate, and viscose, etc; etc.
Using an acid rinse can help BUT it will not Stop it from occurring.
I dont mean to be a broken record player
but I strongly recommend in getting IICRC certified. Why certified? well when you take the time to actually enroll and sit (or do online training) and interact with your instructor, you gain knowledge and confidence, plus it make you slow down and pay attention, when you take the test you question yourself and realize the areas you need to improve to remain confident and you want to improve, when you pass the test and become certified your confidence level and skill level reaches a new level and you practice what you know and have learned. When you renew your dues you are reminded that you need to continue to devote yourself to the commitment of delivering the high quality standards that you learned.
Get educated, trust me its worth it in sSSO many ways!