On Forethought the stainless prop shaft has anodes on it. That is because it is connected directly to the brass propellor.
The previous propellor began to corrode when the anodes failed to work (coated in concretion)
One idea seems to be that only items that 'see' each other are really candidates for electrolysis. They also need to be connected to each other to complete the circuit. A GRP hull doesnt conduct as well as wet wood, so there isnt a good circuit for electrolysis. Adding a bondwire and an anode will protect the items, but if the anode fails the items will be less protected because of the wire
Another factor comes in with marinas and shorepower and entire boats being at different DC voltages but then the typical GK24 isnt involved much in that

On Forethought the P bracket is not connected to anything, as the cutless bearing is rubber. This is also because the P bracket is a retrofit , 4 years after the boat was built.
The engine was connected to the prop shaft by a wire across the semiflexible coupling but that wire commits suicide all the time.
There are no bonding wires on other fittings.