(b) With regard to legislative personnel matters, whether a personnel decision regarding a legislative employee is shielded by legislative immunity depends upon the nature of the duties of the employee about whom the personnel decision is made. Personnel decisions regarding a legislative employee are afforded immunity if the employee's duties are directly related to the functioning of the legislative process and the duties:
(1) Involve work that significantly informs or influences the shaping of laws, such as when the employee has an opportunity for meaningful input into the legislative process; or
(2) Are peculiar to a legislator's work as a legislator or intimately cognate to the legislative process.