First, you have to save this informations into these tags. You can use the Webscripts for this task.
Then you have to decide, which one you want to keep.
I just keep the following Musicbrainz-Tags:
MUSICBRAINZ ALBUM ID
MUSICBRAINZ ARTIST ID
MUSICBRAINZ_TRACKID
But there are many more, if you like... 