Not all that looks like brass is solid brass! A solid brass piece should last when connected to galvanized, but a plated piece would quickly start to corrode. Also, keep in mind that the threaded portion of the galvanized doesn't likely have any galvanized metal on it, or if it did, it was damaged. So, bare steel will corrode more easily.