The codes reported for Paris Hilton's Diamond Quest are 1973 and 1128.
As with most promotional tie-in games of that period, these were simple fixed strings rather than anything dynamic, which is why they circulated unchanged. Neither is guaranteed on every release, so try both if the first is rejected.
Keep expectations modest. Games of this type were built quickly around a licence, and the codes typically unlock cosmetic or progression shortcuts rather than transforming the experience. If the game itself is what you are after, it is worth checking whether a working copy still runs on your device before spending time on codes.