Common Variable Immunodeficiency Support Group
Common variable immunodeficiency (CVID) is a group of 20-30 primary immunodeficiencies (PIDs) which have a common set of symptoms but with different underlying causes. CVID's underlying causes are different, but the result of these are that the body doesn't produce sufficient antibodies in response to exposure to pathogens.

Some doctors have speculated that the tumor might have caused it or vice versa that CVID caused the tumor. I don't think I've always had it as my blood tests from the 90s have me with a normal protein level and other doctors think that I wouldn't have that if i had CVID at that time. It's actually pretty confusing, but in the end all it means is I have CVID now.
You gave 2 different figures for your IGG so I was unclear if it was 564 or the total of 400. Total IGG would imply he ran subclasses but it wouldnt' be higher than just your IGG of 564. Waiting for vaccine results can be painful but it sounds like your doc is on the right track!