(a) In this section, “substitute transaction” means a transaction by the licensor which would not have been possible except for the licensee’s breach and which transaction is for the same information or informational rights with the same contractual use terms as the transaction to which the licensee’s breach applies.
(b) Except as otherwise provided in § 22-807 of this subtitle, a breach of contract by a licensee entitles the licensor to recover the following compensation for losses resulting in the ordinary course from the breach, less expenses avoided as a result of the breach, to the extent not otherwise accounted for under this subsection:
(1) Damages measured in any combination of the following ways but not to exceed the contract fee and the market value of other consideration required under the contract for the performance that was the subject of the breach:
(A) The amount of accrued and unpaid contract fees and the market value of other consideration earned but not received for:
(i) Any performance accepted by the licensee; and
(ii) Any performance to which § 22-604 of this title applies;
(B) For performances not governed by subparagraph (A) of this paragraph, if the licensee repudiated or wrongfully refused the performance or the licensor rightfully canceled and the breach makes possible a substitute transaction, the amount of loss as determined by contract fees and the market value of other consideration required under the contract for the performance less:
(i) The contract fees and market value of other consideration received from an actual and commercially reasonable substitute transaction entered into by the licensor in good faith and without unreasonable delay; or
(ii) The market value of a commercially reasonable hypothetical substitute transaction;
(C) For performances not governed by subparagraph (A) of this paragraph, if the breach does not make possible a substitute transaction, lost profit, including reasonable overhead, that the licensor would have realized on acceptance and full payment for performance that was not delivered to the licensee because of the licensee’s breach; or
(D) Damages calculated in any reasonable manner; and
(2) Consequential and incidental damages.