(a) An immediate family member of a person or a law enforcement officer may request that a court, after notice and a hearing, issue a gun violence restraining order enjoining the subject of the petition from having in his or her custody or control, owning, purchasing, possessing, or receiving a firearm or ammunition for a period of one year.
(b) For purposes of this subdivision, “immediate family member” has the same meaning as in paragraph (3) of subdivision (b) of Section 422.4.