Yes, that's electrolysis. I used to think the same as you, that brass
would cause a problem. I found out, and was humbled in the process, that it
ain't true. In a situation with electrolysis, it wouldn't be the brass
that'd rust; it'd be the steel tank.