There are two simple ways to remove the password from a PDF file, one of which works no matter what software you have.
You can convert Apple's HEIC files to PDF on a Mac or Windows computer using the free Convertio website.