Akin had been scheduled to start against the Rays.
Baltimore manager Brandon Hyde learned about the situation late Tuesday night.
"We're following the protocols," Hyde said. "There's going to be more information. This is pretty last-minute news, so there's going to be more information as we go along, but right now we're putting two guys on the injured list because of COVID protocols and then we'll go from there."
Alexander Wells, who was on the taxi squad, replaced Akin as Wednesday's starter. Outfielder Ryan McKenna, who had been optioned to Triple-A Norfolk on Tuesday, rejoined the team.
"You've seen it a few times here with the league with other clubs," Hyde said. "It's really the first time this has happened with us and it's unfortunate, but I saw that a couple other teams had same sort of issue recently and ready for it to be over."