Ok so I was told to come here by playstation support for this,
So about an hour ago I bought a destiny one taken king legendary edition and it turns out the code has been expired for three years. I don't where to get help on this to see if I could get a new code that will be valid
Unfortunately all physical copies of Destiny: The Collection have expired codes. Bungie cannot issue new codes, so you will need to take it back to the retailer you purchased it from and request a refund as they sold you a defective product. The only way to get the DLC for sure is to purchase it from your console's store.