It is the intent of the legislature to establish policies regarding the practice of strip searching persons booked into holding, detention, or local correctional facilities. It is the intent of the legislature to restrict the practice of strip searching and body cavity searching persons booked into holding, detention, or local correctional facilities to those situations where such searches are necessary.