I can confirm that when I fitted a new OEM oil filter it has completely fixed the issue and there is no more humming noise from the fuel pipes.
I have no idea why, I can just guess that it's something to do with the fuel moving through the filter at a different speed causing the pipes to vibrate. In the case of the humming fuel filter, this frequency caused resonance and hence the humming noise. Seems like pure luck depending on the filter fitted. But I suggest fitting the original factory filter as it has cured the problem for me.