If the respondent is not the prevailing party, the court may assess against the respondent all direct expenses and costs incurred by the prosecutor or other appropriate public official and law enforcement officers under § 26-5B-315 or 26-5B-316.
SDCL 26-5B-317