Common fixed point properties and amenability of a class of Banach algebras