I checked the LDS site and could not find any marriage for a Duthie and Ogilvie at Laurencekirk, however there was a marriage between a Robert Duthie and a Mary Ogilvie on 25 Nov 1850 at Fettercairn (M112575)and they had the following childrenJohn c 5.10.1851, Marykirk, Betsey Ogilvie c 27.6.1855, Menmuir and James Shepherd c 13.4.1858, Stracathro.I also note the birth of William Ogglevie Duthie c 12.8.1853, St Cyrus to Robert Duthie and Mary Ogglevie.It is possible that this was the same couple and the Session Clerk was responsible for the unusual spelling of the name Ogilvie.Is this your gg grandparents? If so what you will have to do is examine the 1851 censuses for possibly Marykirk or Fettercairn to see if they feature in it, as this will tell you where the couple were born and also give you their ages and with this information you should be able to identify their parents.
I have no knowledge of them in my Family Tree, but, saying that, I have still quite a bit of research to carry out in relation to siblings, so there may well be a connection.
If the above couple are your great great grandparents, it would appear from the different places of birth for their children, that he was a farm worker and moved from farm to farm in search of employment because they were usually only hired for 6 months at a time and if they were not kept on, or they did not like the place, the would move to another farm on the 28 May or 28 November as these were what was called the 'Term Days'.
If you wish to contact me off list please do so at firstname.lastname@example.org