Cooling the HDD is tricky, I'll get back to that later.
In order to cool the pump, you have to have some kind of contact with the heat source. Since I'm sure you're not going to solder copper tubes to the pumps motor coils (if you do, you deserve a spanking!), that would leave you with 2 options:
1-Pray to <insert your deity here> that the heat from the pump will miraculously get into the wound up copper tubing, through thin air.
2-Use a small fan to vent your pump.
Your choice...