Separate the protective skill effect from Noblesse status and resurrection.
At death, an active Noblesse Blessing effect is removed and the ordinary death cleanup of buffs is skipped. The protection check uses the active effect, not the character noble title. A resurrection-special effect has a separate preservation branch. Without either, effects not allowed to last through death are removed.
NoblesseBless adds the protection flag to an eligible playable target. That effect does not itself perform a resurrection or calculate restored experience. Use the character death context and the actual resurrection skill to determine XP recovery.