Harry's visa status is being kept secret as publication could lead to "foreseeable harm," unsealed filings say.