Economics of Database-Assisted Spectrum Sharing