Does anyone have some ideas about how to move the data at "a" to positon "b"?

The full story:
Native Instrument's "Traktor" DJ software has a function very much like replaygain, except it doesn't work. I want to move the replaygain data to Traktor's id3v2 gain field. I found a Perl module to modify id3v2 tags and think my meager Perl skills would suffice, but the replaygain data is not stored as an id3 tag.
Where is it stored? (Lame header?)
How can I get to it?