the olds activation code lost theri validity the very moment you changed the Hard drive.
Fortunately that is no problem at all.
You can get new activation codes for free whenever you want , just by repeating the activation process you followed the first time you activated the codecs.