For example, a technique of masking distortion (or clipping, rather) is adding something with rich harmonic content (a trumpet for example) to parts that are expected to be hitting the wall and otherwise distorting / clipping.
Would trumpets be there otherwise? I don't know, but I'm sure producers are aware of the limitations of digital audio and as such adapt the music to it.