Short one looks like a coil harness.
The long one with heat shielding looks like it could go to the starter solenoid and maybe pre-cat o2 sensors. But that's a guess since I can't see the terminal ends.
I'd have to agree with that, based on what you can see from the pics
