The plastic bit is usually called a "knock filter." In older ecm's the knock filter contained circuitry to filter noise from the knock sensor so the ecm could focus on real knocking. The plug is standard to other GM ecm/pcm units using a similar knock filter design. I don't know of anyone using that plug to access the code.