Mass is not the issue. Mass is a measure of weight.
I would think that mass is not affected by heat.
However, volume is affected by heat, and the gasses displace more volume the hotter they are. So you are creating restriction by increasing heat in the same pipe. The pipe is the constant value of volume capability. The gas varies in volume depending on temperature.
That is why I said that you can have the heat wicking of the headers, which is a big benefit, while having higher backpressure and velocity, just by using smaller uncoated primary pipes.
I gave it a bit more thought and I think it's the gas velocity relative to gas velocity at speed of sound (Mach number) that determines how restricted the flow is. When the flow reaches sonic speed, the pipe won't flow any more, regardless of the pressure difference. An intake ports/manifold, becomes restrictive if the Mach number exceeds ~0.5. Not sure if the same number also applies to the exhaust.
If you increase gas temperature, the speed of sound goes up, but a little less than the density goes down. This means that the maximum flow capacity (@Mach 1) goes down a little. If you for example increase gas temperature from 1000 to 1500 deg F, the density goes down 26%, while the speed of sound goes up by 26%. 0.74 x 1.26 = 0.93. If you don't want the Mach number to increase, the pipe area needs to go up by 7% and the diameter by 3.5% (for example from 1 5/8" to 1 11/16") to compensate for the temperature increase.
So, you are correct that the pipe becomes slightly more restrictive. However, the higher velocities and temperate can also enhance the scavening effect that a good header has which may well be of more influence on volumetric efficiency than the increased flow restriction.
Heat in the engine bay is good. It is not in the engine if it is in the bay.
All this is why hood scoops are used in the first place. The only thing heat in the bay hurts is if your air cleaner is not exposed to incoming cool air.
Well, 90% of all the classic Mustangs discussed here in the classic forums
do suck their air from the engine bay. The hotter it is in there, the lower the density of the incoming air, which reduces power.
To keep it slightly on topic: I have Hooker Super Competitions too. I liked the way they fitted in the engine bay, but hated the very limited ground clearance. I damaged them within 20 ft of driving
After struggling with them for a few years, I decided to cut them up and use the bends to make Tri Y's out of them

. How that affected performance is hard to tell. I probably lost some, won some but at least I get to enjoy 2" more ground clearance every time I drive it.