The fuel is cooled by using raw water being pushed thru a brass tube which contains smaller tube carrying fuel. Your fuel module looks like the one below, even though it is for a TBI
Water flows thru the area (g) pump is (d), and there is a short loop of tube inside (g) before it goes thru (i)