Peter Harley seems to have been an unlucky name in Tayport.
There are newspaper reports from July 1931 about a Peter Harley (age 23) of 24 Dalgleish Street, Tayport who was severely injured (fractured skull). The last mention says that he has not regained conciousness, I do not see a death.
There are newspaper articles in November 1942 about a P.O (Cook), Peter Harley of Tayport whose parents (Inn Street, Tayport) were informed that he was missing, presumed lost. He was a baker before joining the Navy in 1940.