In general, the more things a.substance passes through, the higher chance it will be metabolized. Its one of those things that soil health will do. Obviously not heavy metals but almost any organic compound is food for something.
I grow stropharia on wood chips and I’m sure they have been sprayed at some point. Its utility company chips! I eat the mushrooms and don’t think twice.
The more different the organism is to you, the more likely it will either pass through you without absorption or have been metabolized before. Remember the larvae have a microbiome as well! Its passing through more than one enzyme system. My 0.02