Hello!
Possibly a very straight-forward question, but...
The Scrum Guide foresees the following roles:
For the SM:
Facilitating stakeholder collaboration as requested or needed
For the PO:
Representing the stakeholders (The Product Owner may represent the needs of many stakeholders in the Product Backlog.)