(This was one of the exercises in fluid mechanics class in college.)
The bit about the air cannot get out of the way fast enough comes from its inertia, not friction.
You'll find the same temperature rise in high speed aircraft like the SST. The max temperature rise is at the stagnation point where the air velocity is zero.
(Compress any gas and it warms up, this is how refrigerators work.)