The Bills secured at least an AFC wild-card berth, marking coach Sean McDermott’s second playoffs in his three seasons in Buffalo.