As a licensed Attorney of law wouldn't that also make him a "Ward" of the court which gives him certain privileges and responsibilities according to the codes of conduct set forth which, if broken, could cause him to be sanctioned or worse to lose his license to practice?
Could these circumstances protect him from prosecution?
Not a lawyer, asking for a friend.
Yes
As President Trump's PERSONAL lawyer, Rudy would have no need for a security clearance. He might have one but it would not be related to his position as President Trump's personal lawyer. His government lawyer would need one for sure.
POTUS is THE classification authority for the United States. Information is classified and security clearances are issued by derivative authority from him.
By definition, he can't commit a security violation. If he wants something declassified it WILL be declassified. He can reveal anything to anyone and it would be legal. It might not be smart but it would be legal.
WWG1WGA
Garde la Foi, mes amis! Nous nous sommes les sauveurs de la République! Maintenant et Toujours!
(Keep the Faith, my friends! We are the saviors of the Republic! Now and Forever!)
LonePalm, le Républicain du verre cassé (The Broken Glass Republican)