Not unless you wipe the data via PS4 or computer,if it's any consolation only the PS4 the 500GB HDD originated from would be able to read the data.
HDD's are effectively paired to a PS4 system once installed into another PS4 it will be formatted on startup,basically it's to help prevent piracy otherwise people will be selling HDD's full of games on EBay etc.