What was the political atmosphere like in which Beka Lamb written?

There was no Beka Lamb. You might be thinking of Bekka Pfeffer who wrote the novel "Letters to a Dead Rock Star" in 2015. That book was written in the era of the US presidency of Barack Obama.