The codes that let you free the beluga are hidden in the small shoe pictures tucked around the Beluga's area — look under Pey'j's shoes for the set you need.
Be aware that these codes are not fixed for every save. Depending on your playthrough you may find them in one of the bedrooms instead, or down at the docking bay where your hovercraft is parked. The giveaway is the same in each case: a picture of a pair of shoes.
So rather than memorising a string of numbers, walk those three locations and read whatever is written on the shoe images in your own game.