If the respondent is not the prevailing party, the court may assess against the respondent all direct expenses and costs incurred by the prosecutor and law enforcement officers under section 598B.315 or 598B.316.
Iowa Code § 598B.317
99 Acts, ch 103, §39