A firefighter shall not have his or her locker or other space for storage that may be assigned to him or her searched except in his or her presence, or with his or her consent, or unless a valid search warrant has been obtained or unless he or she has been notified that a search will be conducted. This section shall apply only to lockers or other space for storage that are owned or leased by the employing department or licensing or certifying agency.