Assists the correct folding of nascent IpaB. Once it is bound to IpaB, it binds to IpaC and impedes their premature association that would lead to their degradation in the absence of IpcG. Belongs to the LcrH/SycD chaperone family.