I think we have had a similar discussion in the past and there was this issue of color change with the incorporation of mud but that was with Salicylic acid in some other world. For this I am guessing
1. Why would you add mud (even if it is sterilized aqueous solution or not) to a product whose primary function is to clean the hair and scalp?
2. What kind of shampoo is it, whether ionic or sulfate free?????? Because I am guessing you are going to have charge clash in a charged shampoo (sulfate based and similar kinds)?????
3. Even the maximum prescribed quantity of EDTA won’t suffice if the mud has high ion content in IMHO.
But why don’t you add and see how it performs, chemistry is all about trials and experimentation.