Investigation of dynamic subgrid-scale and wall models for turbulent boundary layers