For the Rohloff - give it an oil change, there's a possibility some moisture has got in and it really isn't worth the risk not flushing it out.
The SON hubs are pretty well sealed and short of sending them back to Germany there isn't a lot you can do anyway. Mine have been through floodwater a few times and it hasn't affected them.
You don't say what sort of BB you have? if it's a sealed unit, you may have shortened it's life, but they're a relatively cheap consumable.
What would concern me is water in the frame, I'd drop the BB and seatpost out leave it somewhere warm overnight and re-grease both before putting them back in. If you have an EBB it'll be easier to drop that out than the BB, I'd do both, stuck BB's are no fun to deal with.
Whenever I have access to an open tube I squirt some ACF-50 down it. Some may consider that unnecessary, but it does no harm.