Anyone recognize this wire/module

While preparing the boat for winter, I found a loose wire with an inline module. It appears that it wasn't plugged into anything. There is a small circuit board potted in the module. I can't see under the engine without a scope. Does anyone recognize this?
This was in a 2015 Captiva 236 CC, with 350 Mag MPI, and Bravo 3 drive.

Comments
2019 MTX20 Extreme
PC BYC, Holland, MI