SAN FRANCISCO -- One of the most prolific passing performances of Alex Smith's seven-year career again put the Buffalo Bills on the wrong end of a San Francisco 49ers record.