The Canadian rapper’s latest legal troubles have been settled.