The court shall award reasonable attorney fees, costs, compensation for lost income and all expenses incurred by a defendant in the defense of any civil action based on conduct otherwise justified pursuant to this chapter if the defendant prevails in the civil action.