It's more of a unique identifier that warband gives which is tied to the serial key, the keys themselves are not exposed to modders.
But yeah, you're going to want to either find your old key or get a new one before transferring, otherwise you'll end up sharing with a bunch of free-weekenders or people who pirated the game.