Have seen the same thing on several GMC inline 6 engines. The wire is about the same diameter as a coat hanger. As mentioned, probably used in making the sand core.

The oil line to the cylinder head on the GMC is external.

Best Regards...