A lot of bike lanes, in my experience, are of substandard width and, as a consequence, result in closer passes/overtakes by cars in the adjacent general purpose lane because of the lack of sufficient width in the bike lane and the fact that motorists tend to drift from side to side within their lane during the normal course of driving (especially when the road has a curve).
So, riding in the bike lane actually makes things worse for the cyclist in terms of dealing with overtaking traffic compared to riding in the center of the general purpose lane.
My personal experience (over the last 15 years) has been that the vast majority of drivers will treat it as a non-event and just change lanes to pass/overtake. The real danger is a motorist who doesn't notice you until it's too late to avoid a collision. If someone uses their horn or shouts at you, then at least you know they've seen you.