Decryp SD card on samsung s9

I've encrypted my security file on my old phone. This has since broken and does not turn on. I went to s9 samsung and put my SD card in it. It will not let me crack the sd created with a password or pin and tell me to decrypt it on my old phone before I can use it on my new phone. Help me, please