You have done a very thorough and logical flow trying to fix the problem. There's not much one reading this can suggest other than trying to 'zero' in on the #17 DTC. Maybe there's is a connection problem "someplace" in the signal chain.
Don't know what else to say?