There is no ban risk whatsoever.
If you change the hdd, you must reinstall the system software anyway & once that's done, you will be on pure OFW or HFW which is basically the same thing, and there should be no traces left of any hacks you might have used previously.
You can then connect to PSN safely to activate the console & sync your trophies. And once that part of the setup is done, you can finally install PS3HEN.